<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script type="text/javascript">
        var x=10;
        if(x<=10){
            document.write('你的账户金额为'+x+'元。<a href="http://www.baidu.com">赚钱请点击</a>');
        }
    </script>
</body>
</html>